package com.draw.cli.gui.img;

import java.net.URL;

import javax.swing.ImageIcon;

public class IconManager {

	private static final String path = "";

	/** EXIT **/
	public static final ImageIcon EXIT_16 = load(path + "/16x16/actions/application_exit.png");
	/** EXIT **/

	/** CONFIGURE **/
	public static final ImageIcon CONFIG_16 = load(path + "/16x16/actions/configure.png");
	/** CONFIGURE **/

	/** HOME **/
	public static final ImageIcon HOME_16 = load(path + "/16x16/filesystems/folder_home2.png");
	public static final ImageIcon HOME_32 = load(path + "/32x32/filesystems/folder_home2.png");
	/** HOME **/

	/** USER **/
	public static final ImageIcon USER_16 = load(path + "/16x16/actions/user.png");
	/** USER **/

	/** ADD USER **/
	public static final ImageIcon ADDUSER_16 = load(path + "/16x16/actions/list_add_user.png");
	/** ADD USER **/

	/** RM USER **/
	public static final ImageIcon RMUSER_16 = load(path + "/16x16/actions/list_remove_user.png");
	/** RM USER **/

	/** PAINTBRUSH **/
	public static final ImageIcon PAINTBRUSH_16 = load(path + "/16x16/actions/paintbrush.png");
	/** PAINTBRUSH **/

	/** PROCESS WORKING **/
	public static final ImageIcon PROCESS_32 = load(path + "/32x32/animations/process-working.png");
	/** PROCESS WORKING **/
	
	private static ImageIcon load ( String p ) {
		URL u = ImageIcon.class.getResource(p);
		try {
			return new ImageIcon(u);
		} catch (Exception e) {
			return new ImageIcon();
		}
	}

	public IconManager() {}
}
